﻿using System.ComponentModel.DataAnnotations;
using System;

namespace Framework.Poco
{
    /// <summary>
    ///  经销商
    /// </summary>
    public class Agency : NamedPoco
    {
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 经销商名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 经销商详细地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 经销商简介
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 经销商网站
        /// </summary>
        public string Website { get; set; }

        /// <summary>
        /// 是否通过验证
        /// </summary>
        public bool IsVerification { get; set; }

        /// <summary>
        /// 经销商等级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 赠品
        /// </summary>
        public string Gifts { get; set; }

        /// <summary>
        /// 地图标注
        /// </summary>
        [StringLength(Int32.MaxValue)]
        public string MapMark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created { get; set; }
    }
}
